From de3b37d80cd9a2386d4998cba59394f0e50e21f1 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 25 Mar 2023 15:29:55 -0400 Subject: [PATCH] Tweak --- docs/reference/gtk/coordinates.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/reference/gtk/coordinates.md b/docs/reference/gtk/coordinates.md index be1d281961..4ca85d5890 100644 --- a/docs/reference/gtk/coordinates.md +++ b/docs/reference/gtk/coordinates.md @@ -67,9 +67,9 @@ or decreasing Y coordinates. Event controllers and gestures report positions in the coordinate system of the widget they are attached to. -But if you are dealing with raw events in the form of [class@Gdk.Event] that have -positions associated with them (e.g. the pointer position), such positions are expressed -in **_surface coordinates_**, which have their origin at the top left corner of the +If you are dealing with raw events in the form of [class@Gdk.Event] that have positions +associated with them (e.g. the pointer position), such positions are expressed in +**_surface coordinates_**, which have their origin at the top left corner of the [class@Gdk.Surface]. To translate from surface to widget coordinates, you have to apply the offset from the -- 2.30.2